<%@page contentType="text/javascript;charset=GBK" language="java"%><%
String rand = (String)session.getAttribute("rand");
String input = request.getParameter("rand");
int result = (rand!=null&&rand.equalsIgnoreCase(input)?1:0);
%>{value: <%=result%>}